﻿using ApplicationGenerator.BusinessModule.MetaElements;
using ApplicationGenerator.BusinessModule.Interfaces;

namespace ApplicationGenerator.BusinessModule.Elements
{
    /// <summary>
    /// Fabryka dla fasad
    /// </summary>
    public class FacadeFactory
    {
        /// <summary>
        /// Tworzy fasadę dla modeli
        /// </summary>
        /// <returns>Fasada dla modeli</returns>
        public IModelFacade CreateModelFacade()
        {
            return new ModelFacade();
        }

        /// <summary>
        /// Tworzy fasadę dla meta modeli
        /// </summary>
        /// <returns>Fasada dla meta modeli</returns>
        public IMetaModelFacade CreateMetaModelFacade()
        {
            return new MetaModelFacade();
        }
    }
}
